#include <iostream>
#include <cstdio>
using namespace std;

int main()
{
	char a[1010];
	cin >> a;
	int i = 0;
	while(a[i + 1])
	{ 
		char tmp = a[i] + a[i + 1];
		cout << tmp;
		i++;
	}
	
	cout << (char)(a[0] + a[i]) << endl;
	return 0;
}



